package org.zzh.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zzh.domain.company.SsCompany;

import java.util.List;

@Mapper
public interface CompanyMapper {


    List<SsCompany> list(@Param("name") String name);

    void add(SsCompany company);

    void delete(String id);

    void deleteList(@Param("ids") String[] ids);

    void edit(SsCompany company);

    SsCompany findById(String id);
}
